<?php
function TemplateMember($title, $content){
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="mainstyle.css" />
<link rel="stylesheet" type="text/css" href="Template/mainstyle.css" />	
<title><?php echo $title; ?></title>
</head>
<body>
	<div class="middle">
    	<div class="header">
        </div>
        <div class="manubar">
                <div class="top-nav">
					<ul>
						<li><a href="index.php">Reservation</a></li>
						<li><a href="History.php">History</a></li>
						<li><a href="Gallary.php">Gallary</a></li>
						<li><a href="Statistics.php">Statistics</a></li>
						<li><a href="Video.php">Video Demo</a></li>
					</ul>
				</div>	
             </div>	
        <div class="body">
        <?php echo $content; ?>
        </div>
        <div class="footbar">
        </div>
    </div>
</body>
</html>

<?php } ?>